Environment Variables

The following environment variables can be used with argocd CLI:

Environment VariableDescription
ARGOCD_SERVERthe address of the ArgoCD server without https:// prefix
(instead of specifying —server for every command)
eg. ARGOCD_SERVER=argocd.mycompany.com if served through an ingress with DNS
ARGOCD_AUTH_TOKENthe ArgoCD apiKey for your ArgoCD user to be able to authenticate
ARGOCD_OPTScommand-line options to pass to argocd CLI
eg. ARGOCD_OPTS=”—grpc-web”